local HeroSimple = require("hero.Proto").HeroSimple
local HeroStatic = require("hero.Proto").HeroStatic
local ItemData = require("bag.Proto").ItemData
local HeroNiceNet = require("hero.Proto").HeroNiceNet

-- 详情
CG_XIANZHI_DETAIL = {
	{"camp",            1,           "byte"}, 		-- 1-4
}

GC_XIANZHI_DETAIL = {
    {"item",      50,          ItemData},
}

-- 召唤
CG_XIANZHI_ZHAOHUAN_DO = {
	{"camp",             1,          "byte"},		-- 1-4
	{"cnt",              1,          "byte"},
    {"skip",             1,          "byte"},
}

GC_XIANZHI_ZHAOHUAN_DO = {
	{"camp",             1,          "byte"},
    {"list",      		 15,         HeroNiceNet}
}

-- 置换
CG_XIANZHI_ZHIHUAN_QUERY = {
	{"heroID",           1,          "int"},
	{"heroIndex",        1,          "int"},
}

GC_XIANZHI_ZHIHUAN_QUERY = {
	{"heroID",           1,          "int"},
	{"heroIndex",        1,          "int"},
	{"heroSimple",       1,          HeroSimple},
	{"heroStatic",       1,          HeroStatic},
    {"skip",             1,          "byte"},
}

CG_XIANZHI_ZHIHUAN_DO = {
	{"heroID",           1,          "int"},
	{"heroIndex",        1,          "int"},
}

GC_XIANZHI_ZHIHUAN_DO = {
	{"heroSimple",       1,          HeroSimple},
}


CG_XIANZHI_ZHIHUAN_PREVIEW = {
    {"camp",            1,           "byte"},  -- 1召唤    2置换
	{"star",            1,           "byte"},  -- 1召唤    2置换
} 

GC_XIANZHI_ZHIHUAN_PREVIEW = {
    {"heroSimple",      50,          HeroSimple}
}